File tree Expand file tree Collapse file tree 3 files changed +50
-1
lines changed
Expand file tree Collapse file tree 3 files changed +50
-1
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ name : " Release"
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v5
13+
14+ - name : Set up QEMU
15+ uses : docker/setup-qemu-action@v3
16+
17+ - name : Set up Docker Buildx
18+ id : buildx
19+ uses : docker/setup-buildx-action@v3
20+
21+ - name : Login to the Container registry
22+ uses : docker/login-action@v3
23+ with :
24+ registry : ghcr.io
25+ username : ${{ github.actor }}
26+ password : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Docker meta
29+ id : meta
30+ uses : docker/metadata-action@v5
31+ with :
32+ images : ghcr.io/${{ github.repository_owner }}/aws_ecr_proxy
33+ labels : |
34+ org.opencontainers.image.authors=Terri Cain
35+ org.opencontainers.image.title=ECR Proxy
36+ org.opencontainers.image.description=Proxies requests to AWS ECR with credentials and fixes Link headers
37+ tags : |
38+ type=semver,pattern={{version}}
39+
40+ - name : Build and push
41+ uses : docker/build-push-action@v6
42+ with :
43+ context : .
44+ platforms : linux/amd64,linux/arm64
45+ push : true
46+ tags : ${{ steps.meta.outputs.tags }}
47+ labels : ${{ steps.meta.outputs.labels }}
48+ build-args : |
49+ DOCKER_METADATA_OUTPUT_JSON
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ COPY go.mod go.sum /usr/local/go/src/aws_ecr_proxy/
77RUN go mod download
88
99COPY cmd/ /usr/local/go/src/aws_ecr_proxy/cmd/
10- COPY pkg / /usr/local/go/src/aws_ecr_proxy/internal/
10+ COPY internal / /usr/local/go/src/aws_ecr_proxy/internal/
1111
1212ENV PKG=github.com/terricain/aws_ecr_proxy
1313ARG DOCKER_METADATA_OUTPUT_JSON
You can’t perform that action at this time.
0 commit comments