Skip to content

Commit

Permalink
Tags / Release Gitlab Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sakowicz committed Jun 9, 2024
1 parent 9478d9b commit a692e81
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
push: true
tags: sakowicz/actual-ai:${{ github.ref }},sakowicz/actual-ai:latest
tags: sakowicz/actual-ai:latest
31 changes: 31 additions & 0 deletions .github/workflows/tags-build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Push Docker Images
on:
push:
tags:
- "*.*.*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
push: true
tags: sakowicz/actual-ai:${{ github.ref }}

0 comments on commit a692e81

Please sign in to comment.