diff --git a/.github/workflows/name: publish on: [push] jobs: publish-hello-world-image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build the hello-world Docker image run: | docker build . --tag ghcr.io/jonashackt/hello-world:latest docker run ghcr.io/jonashackt/hello-world:latest docker push ghcr.io/jonashackt/hello-world:latest b/.github/workflows/name: publish on: [push] jobs: publish-hello-world-image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build the hello-world Docker image run: | docker build . --tag ghcr.io/jonashackt/hello-world:latest docker run ghcr.io/jonashackt/hello-world:latest docker push ghcr.io/jonashackt/hello-world:latest deleted file mode 100644 index 31b6a3c..0000000 --- a/.github/workflows/name: publish on: [push] jobs: publish-hello-world-image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build the hello-world Docker image run: | docker build . --tag ghcr.io/jonashackt/hello-world:latest docker run ghcr.io/jonashackt/hello-world:latest docker push ghcr.io/jonashackt/hello-world:latest +++ /dev/null @@ -1,23 +0,0 @@ -name: publish - -on: [push] - -jobs: - publish-php-site-image: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build the php-site Docker image - run: | - docker build . --tag ghcr.io/frepke/php-site:latest - docker run ghcr.io/frepke/php-site:latest - docker push ghcr.io/frepke/php-site:latest