xyter/.github/workflows/docker-image.yml
Vermium Sifell 2e0541b2a1
v1.0.0 (#496)
* Fix missing packages and make signing commits as default in VS Code (#491)

* Added missing package and improve user/dev experience (#486)

* fix: 📦 add date-fns

Added missing date-fns to dependency list

* style(git): 🧑‍💻 start using Conventional Commits

Started using a commit convention called Conventional Commits (conventionalcommits.org)

* chore(github): 🚸 Remove issue templates

Removed issue templates since they confuses people and makes less people go through and make an issue

* feat(git): 🧑‍💻 vs code git commit signing (#488)

Enable commit signing in VS Code by default

* 🚸 improve dev experience in vs code

* 📦 Removed unused and updated packages

* Added missing package and improve user/dev experience (#486)

* fix: 📦 add date-fns

Added missing date-fns to dependency list

* style(git): 🧑‍💻 start using Conventional Commits

Started using a commit convention called Conventional Commits (conventionalcommits.org)

* chore(github): 🚸 Remove issue templates

Removed issue templates since they confuses people and makes less people go through and make an issue

* feat(git): 🧑‍💻 vs code git commit signing (#488)

Enable commit signing in VS Code by default

* chore: ⚰️ remove config for unused github apps (#492)

Removed configuration files for licrc and renovate since they are not used anymore

* Updated CI workflows (#494)

* ci(github): 👷 add arm64 support and run workflow with cron and on push and pull request

Added support for linux/arm64 platform, I also added a cronjob and added pull_request as triggers to run the workflow

* ci: 🚸 add ghcr.io as registry too

Added ghcr.io as a registry aswell as keeping docker hub too

* ci: 👷 add release workflow (semantic release)

Added a new workflow for semantic releases

* ci: 💚 remove strategy

Removed strategy's since they were not used

* ci: 💚 change frmo master to main

Change from wrong branch (master) to main in workflow

* chore: ✏️ master should be main

Changed from master to main in releaserc

* Update .deepsource.toml (#487)

Co-authored-by: DeepSource Bot <bot@deepsource.io>

* Format code with prettier (#489)

This commit fixes the style issues introduced in 502f8b1 according to the output
from prettier.

Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/2d6f5e66-ae8b-4261-92a6-688077649213/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Fix missing packages and make signing commits as default in VS Code (#491) (#493)

* Added missing package and improve user/dev experience (#486)

* fix: 📦 add date-fns

Added missing date-fns to dependency list

* style(git): 🧑‍💻 start using Conventional Commits

Started using a commit convention called Conventional Commits (conventionalcommits.org)

* chore(github): 🚸 Remove issue templates

Removed issue templates since they confuses people and makes less people go through and make an issue

* feat(git): 🧑‍💻 vs code git commit signing (#488)

Enable commit signing in VS Code by default

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
2022-11-04 15:35:01 +01:00

58 lines
1.6 KiB
YAML

name: Docker Image CI
on:
schedule:
- cron: "0 10 * * *"
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
branches:
- "**"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
zyner/xyter
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64