Skip to content

Commit

Permalink
Switch to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Aug 18, 2021
1 parent 33513fc commit 2e80dd1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 26 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ubuntu-20.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ubuntu-20.04

on:
push:
branches:
- ubuntu-20.04
env:
DEBIAN_FRONTEND: noninteractive
DOCKER_TAG: ubuntu-20.04

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

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

- name: Login to the GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Build and push image
uses: docker/build-push-action@v2
with:
push: true
context: .
file: ./Dockerfile
tags: |
ghcr.io/netbootxyz/mod-layers:${{ env.DOCKER_TAG }}
ghcr.io/netbootxyz/mod-layers:${{ github.sha }}
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit 2e80dd1

Please sign in to comment.