Skip to content

Commit

Permalink
i don't like yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
pljakobs committed Dec 21, 2024
1 parent 305f7ff commit 25285b2
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ jobs:
else
echo "::set-output name=updated::false"
fi
build:
runs-on: ubuntu-latest
needs: check-updates
if: needs.check-updates.outputs.updated == 'true'
steps:
- name: Checkout repository
uses: actions/checkout@v2
build:
runs-on: ubuntu-latest
needs: check-updates
if: needs.check-updates.outputs.updated == 'true'
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
push: true
tags: pjakobs/sming:latest
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
push: true
tags: pjakobs/sming:latest

0 comments on commit 25285b2

Please sign in to comment.