diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml new file mode 100644 index 0000000..8807b41 --- /dev/null +++ b/.github/workflows/docker.yaml @@ -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 }} \ No newline at end of file