Added push actions to docker hub
Build and Push Alpine Image / Build and push image (push) Successful in 43s
Details
Build and Push Alpine Image / Build and push image (push) Successful in 43s
Details
This commit is contained in:
parent
8ec999cbe9
commit
26a5f0bf5e
|
|
@ -13,12 +13,18 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Login to Docker Winter Access Git Registry
|
- name: Login to Docker Winter Access Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.winteraccess.id
|
registry: git.winteraccess.id
|
||||||
username: aditya.prima
|
username: aditya.prima
|
||||||
password: ${{ secrets.PATOKEN }}
|
password: ${{ secrets.PATOKEN }}
|
||||||
|
- name: Login to Docker Hub Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: docker.io
|
||||||
|
username: aprimediet
|
||||||
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -30,3 +36,5 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
git.winteraccess.id/${{ gitea.repository }}:latest
|
git.winteraccess.id/${{ gitea.repository }}:latest
|
||||||
git.winteraccess.id/${{ gitea.repository }}:3.19
|
git.winteraccess.id/${{ gitea.repository }}:3.19
|
||||||
|
aprimediet/alpine:latest
|
||||||
|
aprimediet/alpine:3.19
|
||||||
Reference in New Issue