Skip to content

Commit 9db4ad8

Browse files
committed
test workflow
1 parent 39b74f8 commit 9db4ad8

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

.github/workflows/dockerimage.yml

+17-14
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: release-docker-image
33
on:
44
push:
55
# run only against tags
6-
tags:
7-
- "v*.*.*"
6+
# tags:
7+
# - "v*.*.*"
88

99
env:
1010
AWS_REGION: us-west-2
@@ -34,16 +34,19 @@ jobs:
3434
uses: aws-actions/amazon-ecr-login@v2
3535
with:
3636
registry-type: public
37-
38-
- name: Build, tag, and push docker image to Amazon ECR Public
37+
# ECR login has to be done in us-east-1
3938
env:
40-
REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}
41-
REGISTRY_ALIAS: w0i7g3v8
42-
REPOSITORY: telophase
43-
# ref_name is the tag
44-
IMAGE_TAG: ${{ github.ref_name }}
45-
run: |
46-
docker buildx build \
47-
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
48-
--tag $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG \
49-
--push .
39+
AWS_REGION: us-east-1
40+
41+
# - name: Build, tag, and push docker image to Amazon ECR Public
42+
# env:
43+
# REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}
44+
# REGISTRY_ALIAS: w0i7g3v8
45+
# REPOSITORY: telophase
46+
# # ref_name is the tag
47+
# IMAGE_TAG: ${{ github.ref_name }}
48+
# run: |
49+
# docker buildx build \
50+
# --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
51+
# --tag $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG \
52+
# --push .

0 commit comments

Comments
 (0)