Skip to content

Fix dockerfile image tag #1

Fix dockerfile image tag

Fix dockerfile image tag #1

Workflow file for this run

name: "Release"
on:
push:
tags:
- "v*.*.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/aws_ecr_proxy
labels: |
org.opencontainers.image.authors=Terri Cain
org.opencontainers.image.title=ECR Proxy
org.opencontainers.image.description=Proxies requests to AWS ECR with credentials and fixes Link headers
tags: |
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
DOCKER_METADATA_OUTPUT_JSON