Skip to content

chore(deps): update dependency parcel to v2.10.0 #42

chore(deps): update dependency parcel to v2.10.0

chore(deps): update dependency parcel to v2.10.0 #42

Workflow file for this run

name: Build docker and push
on:
push:
branches:
- 'main'
env:
IMAGE_NAME: larmic/abfallkalender_api
jobs:
build:
name: Build and push Docker image
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up version
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: prepare buildx
run: |
# Use docker-container driver to allow useful features (push/multi-platform)
docker buildx create --driver docker-container --use
docker buildx inspect --bootstrap
- name: build and push image
run: |
update-binfmts --enable # Important: Ensures execution of other binary formats is enabled in the kernel
docker buildx build --platform=linux/amd64,linux/arm64,linux/arm --build-arg VERSION=$VERSION --pull --tag "$IMAGE_NAME:$VERSION" --tag "$IMAGE_NAME:latest" . --push