Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Commit f7e2aab

Browse files
committed
push
1 parent 36f3a24 commit f7e2aab

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: docker release
1+
name: DockerHub Release
22
on:
33
release:
44
types: [published, edited]
@@ -8,4 +8,22 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
- run: echo $GITHUB_REF_NAME
11+
12+
- name: tag name
13+
run: echo $GITHUB_REF_NAME
14+
15+
- uses: docker/login-action@v2
16+
with:
17+
username: rishang
18+
password: ${{ secrets.DOCKERHUB_TOKEN }}
19+
20+
- name: build
21+
run: |
22+
docker build -t aws-oidc-broker .
23+
docker tag aws-oidc-broker rishang/aws-oidc-broker:$GITHUB_REF_NAME
24+
docker tag aws-oidc-broker rishang/aws-oidc-broker:latest
25+
26+
- name: push
27+
run: |
28+
docker push rishang/aws-oidc-broker:$GITHUB_REF_NAME
29+
docker push rishang/aws-oidc-broker:latest

0 commit comments

Comments
 (0)