Skip to content

Commit

Permalink
chore: updating github actions to push
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpavageauekino committed Oct 29, 2024
1 parent 7a624aa commit 4d12eec
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,24 @@ on:
branches: [ "master" ]

jobs:

build:

docker:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag axelpavageau/nginx-blue:latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: axelpavageau/nginx-blue:latest

0 comments on commit 4d12eec

Please sign in to comment.