parent
1d5aab6a8e
commit
332ca2e961
3 changed files with 3 additions and 13 deletions
|
@ -22,8 +22,10 @@ jobs:
|
|||
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Test docker image build
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
@ -33,12 +33,6 @@ jobs:
|
|||
username: ${{ secrets.FORGEJO_USER }}
|
||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USER }}
|
||||
password: ${{ secrets.DOCKERHUB_KEY }}
|
||||
|
||||
- name: Build docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: alpine:3.18
|
||||
image: node:20-bookworm
|
||||
steps:
|
||||
- name: Prepare requirements
|
||||
run: |
|
||||
|
@ -32,12 +32,6 @@ jobs:
|
|||
username: ${{ secrets.FORGEJO_USER }}
|
||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USER }}
|
||||
password: ${{ secrets.DOCKERHUB_KEY }}
|
||||
|
||||
- name: Build docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue