Skip to content

Set CARGO_NET_GIT_FETCH_WITH_CLI in Dockerfile #16

Set CARGO_NET_GIT_FETCH_WITH_CLI in Dockerfile

Set CARGO_NET_GIT_FETCH_WITH_CLI in Dockerfile #16

#
name: Container Push
on:
push:
branches:
- main
env:
IMAGE_NAME: marvin2
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Setup Cargo Vendor
run: cargo vendor
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: hacksocnotts/marvin2:latest