This commit is contained in:
Björn Ellensohn 2023-10-16 08:50:31 +02:00
commit edc50933f1

View File

@ -11,10 +11,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
#- name: Set up QEMU
# run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Set up QEMU
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
uses: docker/setup-qemu-action@v3
# - name: Login to Docker Hub (if needed)
# uses: docker/login-action@v1
@ -23,10 +26,16 @@ jobs:
# password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
#- name: Login to GitHub Container Registry
# run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GHCR_PAT}}
- name: Build and Push Docker Compose Services
run: |