Skip to content

Update azcopy to 10.22.2 #52

Update azcopy to 10.22.2

Update azcopy to 10.22.2 #52

Workflow file for this run

---
name: Publish
on:
push:
branches: [master]
tags: [v*]
pull_request:
jobs:
main:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- id: docker
uses: docker/metadata-action@v5
with:
images: |
mfinelli/azcopy
ghcr.io/mfinelli/azcopy
tag-semver: |
{{version}}
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: ${{ steps.docker.outputs.tags }}