Changing pipeline to setup docker buildx correctly
This commit is contained in:
parent
6866bc9ca7
commit
3546dc6f89
1 changed files with 8 additions and 1 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -11,7 +11,14 @@ jobs:
|
||||||
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
|
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
|
||||||
GHCR_IMAGE: ghcr.io/cgduncan7/autobaan
|
GHCR_IMAGE: ghcr.io/cgduncan7/autobaan
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue