Skip to content

Commit

Permalink
try to fix docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
iSchluff committed Aug 8, 2021
1 parent 1c14cf1 commit bb84008
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ on:
jobs:
docker:
runs-on: "ubuntu-latest"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/voc/srtrelay/srtrelay:latest
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/voc/srtrelay/srtrelay:latest

0 comments on commit bb84008

Please sign in to comment.