Skip to content

Update actions/checkout action to v4 #46

Update actions/checkout action to v4

Update actions/checkout action to v4 #46

Workflow file for this run

name: webapp-dev
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to the GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v4
with:
push: true
context: .
file: ./Dockerfile
tags: |
ghcr.io/netbootxyz/${{ github.workflow }}:latest
ghcr.io/netbootxyz/${{ github.workflow }}:${{ github.sha }}