Skip to content

Commit

Permalink
Add workflow for build and push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
luborco committed Sep 24, 2024
1 parent 5874274 commit b066875
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
tags: ["v*.*.*"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: azure/docker-login@v2
with:
login-server: ${{ secrets.ACR_URL }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit b066875

Please sign in to comment.